home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Business Assistant
/
Business Assistant.iso
/
indus
/
eztime
/
eztime.lzh
/
LHA205.DOC
< prev
next >
Wrap
Text File
|
1991-02-05
|
27KB
|
797 lines
------------------------------------------------------------------------
Manual for LHA Version 2.05
translated to English by Kenjirou Okubo
Ver 2.05 1991/01/27
------------------------------------------------------------------------
NIFTY-Serve SDI00506 HARUYASU YOSHIZAKI
ASCII-pcs pcs02846 Yoshi
PC-VAN FEM12376
------------------------------------------------------------------------
This is a manual for the Beta test version of LHA.EXE. LHA is
an upward compatible and improved version of LH113C v113C. Since
Microsoft's DOS 5.0 has an interior command LH.EXE, (for Load
High) the name has been changed from LH.exe to LHA.exe. Please
run this program and tell me if/where improvements are needed.
0. To begin with
-----------------
This is a revised version of LH113C.exe., an archiver which was
rather slow in execution but tight in compression rate. I am
grateful for the support of LH113C's users both in Japan where
the .LZH file is a standard archived file name and in other
countries where .LZH is one of a known extension. I had been
working for this new version for two years since the last re-
lease of LH113C.EXE am now glad to announce the release of
this test version.
LHA differs from LH113C:
-----------------------
LHA is better than LH113 in compression rate, especially with
large files. There are a few exceptions if using rather small
files. (Under 1 Kb.) LHA is faster than LH113C in decompres-
sing, with new static Huffman coding, compared with the older
dynamic Huffman. The speed of compression is not as fast as I
was expecting. <sigh>
LHA needs more memory than LH113C did. If there is not enough
for LHA to work, it may have looser compression rate, although
it tries to continue execution. LHA is upper compatible to
LH113C. But LH113C is not completely compatible with the LHA
format. Please switch to LHA as soon as you can. With the "/
o" option, you can dearchive anything made by LH113C, but not
vice versa.
LHA is distributed as a free program with copyright reserved.
There is no restriction for the use within private cooperations
or the use for governmental agencies. Users must be respon-
sible for the use of facilities of the software especially of
the auto ! batch file. The software is distributed as is. I
am not liable for any damage caused by the use of this soft-
ware. For commercial use of this software, please refer to our
distribution policy.
Now you can proceed to read the complete description of commands
and options. However, if you are not familiar with what an
archiver is, please refer to the introductory note LHA.HLP
written especially for LHA.EXE by Irvin Hoff.
1. Usage.
---------
A. General Format:
==================
LHA <command> [/<option> ARC [[DIR\] [FILE]...]... [-+012|WDIR]...]
<command>: if one is not used, you get the help screen or a list of
FILEs.
<option>: you may supply one or more of options explained below.
(needs an / or - in front, to designate an option)
ARC: archive name.
DIR: base directory name.
FILE: File name or full pathname if specified.
WDIR: Working Directory name.
B. <command>
=============
a (Add) compress and add to an archive.
Compress and Add files specified to an archive. If the named
archive does not exist, then create one with the name. LHA
overwrites any file in the archive by the given file name with
'a' command. Compare with 'u' command.
The commands 'a' and 'm' are used to make an archive.
< Example 1 > LHA a ex *.EXE
LHA makes an ARChive ex.LZH, from all the files with extension
'EXE'. Extension .LZH is default.
u (Update) Compress and Update.
Compress and add files specified to an archive as command 'a'.
If LHA detects a file with the name same as the one in the
archive, then LHA selects the new one to add to archive, by
comparing the time stamp of each.
< Example 2 > LHA u ex *.c
All the FILEs with extension '.C' are archived in ex.LZH. If
you already have ex.LZH containing a FILE with the same name,
only the one with newer time stamp is archived.
m (Move)
Compress and add to an archive as 'u' command with checking
time stamps. The difference is that LHA deletes all the files
moved into the archive.
< Example 3 > LHA m ex *.c
does the same as
LHA u ex *.c
del *.c .
Watch the second line. With the /C option, LHA removes all the
FILEs into the ARChive ignoring time stamps. You may lose the
one with the older time stamp.
f (Freshen)
LHA looks for a FILE with the same name as the FILE in the
archive. If it finds one with a newer time stamp, LHA
rewrites the one in the archive. 'LHA f /c ARC ' will not
check the time stamp.
< Example 4 > LHA f ex lha.doc
You have lha.doc compressed and archived in ex.LZH. You get a
new lha.doc, then you replace the one in ARChive too.
d (Delete)
LHA deletes FILE in ARC.
e (Extract)
LHA extracts FILEs from the archive with decompressing. If LHA
finds a FILE with a newer FILE with the same name, it skips the
FILEs. LHA extracts FILEs from ARChives made by L113C, namely,
those with the compression ids -lzs-, -lz4-, -lz5-.
<Example 6 > LHA e ex LHA
Extracts all the FILEs in the archive 'ex.LZH'.
< Example 7 > LHA e ex *.com
LHA extracts all the files with extension .COM from 'ex.LZH'.
x (eXtract) LHA eXtracts compressed FILE with pathnames.
If LHA can not find any path, then it will create directories.
FILEs must be archived with full-pathnames. LHA restores the
entire directory structure. 'LHA e /x1m1 ARC' does the same.
< EXample 8 > LHA x ex
Suppose '\BIN\CG86.EXE' were among the FILEs in 'EX.LZH'. LHA
creates directory '\BIN' if necessary, and extracts 'CG86.EXE'
there.
p (Print) Print FILE on standard out.
LHA prints FILE decompressing from ARC to standard output.
< Example 9 > LHA p ex lha.doc
LHA extracts 'LHA.DOC' from 'EX.LZH' and displays it on your
terminal.
< Example 10 > LHA p ex lha.doc > prn
LHA extracts 'LHA.DOC' from 'EX.LZH' and prints it out from
your printer.
l (List)
LHA lists FILE names in the archive on a line. A FILE with
pathname will have a mark '+' on the head of the line. 'LHA
l /x ARC' shows full-pathnames of FILEs in ARC, and in 2 lines
per FILE. You need not type 'l' to have the list.
< Example 11 > LHA lha205.exe
LHA assumes command 'l' and shows list of FILEs archived FILE
per line.
< Example 11x > LHA /x lha205.exe
You get a similar list but full-pathnames are inserted, and
each FILE is shown on two lines.
NOTE: Forward slash '/' is used as the pathname separator.
v (View)
'LHA v ARC' is the same with 'LHA l /x ARC'.
t (Test)
Check the integrity of ARC, by CRC check.
LHA t LHA.EXE or LHA t LHA???.LZH
will announce the authenticity of the file you own.
LHA t LHA.EXE
"This file seems to be ORIGINAL distributed from H.Yoshi."
LHA.exe tests itself for you. This guarantees the version you
have is not hacked by anyone, though it is not the full guaran-
tee in the present state of art. You can't check LHA.exe if
you have used executable